places view: Always use the eject icon
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Aug 2015 20:17:40 +0000 (16:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Aug 2015 20:17:40 +0000 (16:17 -0400)
Otherwise, we end up using different metaphors in the place view
and in the sidebar, and nobody is going to know what the disconnect
icon means in this context.

http://bugzilla.gnome.org/show_bug.cgi?id=754022

gtk/gtkplacesviewrow.c

index 1e81c45dd74ee547db85fea1e09ed2b356e5e0a8..8c1d1cb1278bc4a666c4b8fba908bc0bcad598e3 100644 (file)
@@ -319,9 +319,7 @@ gtk_places_view_row_set_is_network (GtkPlacesViewRow *row,
     {
       row->is_network = is_network;
 
-      gtk_image_set_from_icon_name (row->eject_icon,
-                                    is_network ? "network-offline-symbolic" : "media-eject-symbolic",
-                                    GTK_ICON_SIZE_BUTTON);
+      gtk_image_set_from_icon_name (row->eject_icon, "media-eject-symbolic", GTK_ICON_SIZE_BUTTON);
       gtk_widget_set_tooltip_text (GTK_WIDGET (row->eject_button), is_network ? _("Disconnect") : _("Unmount"));
     }
 }